/**
 * Created by Administrator on 2017/7/15.
 */
class DimensionalTool {
  static isDimensional(value) {
    let dimensional = null;
    if (value.indexOf('3D') !== -1) {
      dimensional = '3D';
    }
    if (value.indexOf('IMAX 3D') !== -1) {
      dimensional = 'IMAX 3D';
    }
    if (value.indexOf('IMAX 2D') !== -1) {
      dimensional = 'IMAX 2D';
    }
    return dimensional;
  }
}

export default DimensionalTool;
